package com.example.demo.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToMany;
import javax.persistence.ManyToOne;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * 售后前台2表
 * @author DELL
 *
 */
@Entity
public class AfterSalefront2  {

	@Id
	@GeneratedValue
	@JsonIgnore
	private Integer id;
	
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date date;//日期
	
	
	private String fuwuguwen;//服务顾问
	private String weixiuGroup;//维修班组
	private String weixiuPerson;//维修技师
	private String chePinPai;//车型品牌（本品牌，外品牌）
	private String cheXing;//车型
	private Integer cheLing;//车龄
	private String nengYuan;//能源类型
	private String baoXian;//保险天数
	private String weixiuClass;//维修类别
	
	private String peijianClass;//配件类别名称
	private String baoyangClass;//保养类别名称
	private String jidianClass;//机电类别名称
	private String banpenClass;//钣喷类别名称
	private String ximeiClass;//洗美类别名称
	
	private Float shoubaoGongshi;//首保工时收入
	
	private Float shoubaoPeijian;//首保配件价格
	
	private Float dingbaoGongshi;//定保工时收入
	
	private Float dingbaoPeijian;//定保配件价格
	
	private Float mianbaoGongshi;//免保工时收入
	
	private Float mianbaoPeijian;//免保配件价格
	
	private Float taocanGongshi;//套餐工时收入
	
	private Float taocanPeijian;//套餐配件价格
	
	private Float weixiuGongshi;//维修工时收入
	
	private Float weixiuPeijian;//维修配件价格
	
	private Float suopeiGongshi;//机电索赔和召回工时收入
	
	private Float suopeiPeijian;//机电索赔和召回配件价格
	
	private Float mianjianGongshi;//免检工时收入
	
	private Float mianjianPeijian;//免检配件价格
	
	private Float shiguGongshi;//事故工时收入
	
	private Float shiguPeijian;//事故配件价格
	
	private Float pdiGongshi;//PDI工时收入
	
	private Float pdiPeijian;//PDI配件价格
	
	private Float bxbjyqGongshi;//保养钣金&油漆工时收入
	
	private Float bxbjyqPeijian;//保养钣喷&油漆配件价格
	
	private Float bxbjGongshi;//保险钣金工时收入
	
	private Float bxbjPeijian;//保险钣金配件价格
	
	private Float bxyqGongshi;//保险油漆工时收入
	
	private Float bxyqPeijian;//保险油漆配件价格
	
	private Float zfbjyqGongshi;//自费钣金油漆工时收入
	
	private Float zfbjyqPeijian;//自费钣金油漆配件价格
	
	private Float zfbjGongshi;//自费钣金工时收入
	
	private Float zfbjPeijian;//自费钣金配件价格
	
	private Float zfyqGongshi;//自费油漆工时收入‘
	
	private Float zfyqPeijian;//自费油漆配件价格
	
	private Float spGongshi;//钣喷索赔&召回工时收入
	
	private Float spPeijian;//钣喷索赔&召回配件价格
	
	private Float xicheGongshi;//洗车工时收入
	
	private Float meirongGongshi;//美容工时收入
	private Float meirongPeijian;//美容配件价格
	
	private Float jiazhuangGongshi;//加装工时收入
	private Float jiazhuangPeijina;//加装配件价格
	
	private Float dbnsGongshi;//代办年审工时收入

	
	private Float youLeiPrice;//油液类价格
	private Float lingJianPrice;//零件价格
	private Float yanghuPrice;//养护品价格
	private Float jingpinPrice;//精品价格
	private Float lunTaiPrice;//轮胎价格
	private Float qiPrice;//漆类价格
	private Float dizhiyihaoPrice;//低值易耗品价格
	
	private Float peijianPrice;//配件总收入
	
	
	private Float baoYangPrice;//保养类别工时收入
	private Float baoYangpeijianPrice;//保养配件收入
	
	private Float jidianPrice;//机电类别工时收入
	private Float jidianPeijianPrice;//机电配件收入
	
	private Float banpenPrice;//钣喷类别工时收入
	private Float banpenPeijianPrice;//钣喷配件收入
	private Float ximeiPrice;//洗美类别工时收入
	private Float ximeiPeijianPrice;//洗美配件价格
	private Float gongshiPrice;//工时总收入
	
	
	private String waixieCompany;//外协公司
	private Integer waixieCost;//外协成本
	
	@ManyToMany
	private List<SaleBoutique1> maiJingPin = new ArrayList<>();// 销售精品
	
	@ManyToMany
	private List<CarKeep> maiBaoYang = new ArrayList<>();// 销售保养套餐

	@ManyToMany
	private List<YanBao> maiYanBao = new ArrayList<>();// 销售延保

	@ManyToMany
	private List<XiMei> maiXiMei = new ArrayList<>();// 销售洗美
	
	@ManyToMany
	private List<CarNumberCompany1> maiChePai = new ArrayList<>();//销售车牌
	
	private Float xiaoShouChePai;


	@ManyToMany
	private List<Insurance> maiBaoXian = new ArrayList<>();// 销售保险
	private Float maiJiaoQiang;//交强险
	private Float maiShangYeXian;//商业险
	
	@ManyToOne
	private AfterSalefront afterSalefront;//绑定1表
	
	
	

	
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date beginDate;//修改开始日期
	
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date endDate;//修改结束日期
	
	
	
	
	
	public List<CarNumberCompany1> getMaiChePai() {
		return maiChePai;
	}
	public void setMaiChePai(List<CarNumberCompany1> maiChePai) {
		this.maiChePai = maiChePai;
	}
	public Float getXiaoShouChePai() {
		return xiaoShouChePai;
	}
	public void setXiaoShouChePai(Float xiaoShouChePai) {
		this.xiaoShouChePai = xiaoShouChePai;
	}
	public Float getMaiJiaoQiang() {
		return maiJiaoQiang;
	}
	public void setMaiJiaoQiang(Float maiJiaoQiang) {
		this.maiJiaoQiang = maiJiaoQiang;
	}
	public Float getMaiShangYeXian() {
		return maiShangYeXian;
	}
	public void setMaiShangYeXian(Float maiShangYeXian) {
		this.maiShangYeXian = maiShangYeXian;
	}
	public Float getMeirongPeijian() {
		return meirongPeijian;
	}
	public void setMeirongPeijian(Float meirongPeijian) {
		this.meirongPeijian = meirongPeijian;
	}
	public Float getJiazhuangPeijina() {
		return jiazhuangPeijina;
	}
	public void setJiazhuangPeijina(Float jiazhuangPeijina) {
		this.jiazhuangPeijina = jiazhuangPeijina;
	}
	public Float getXimeiPeijianPrice() {
		return ximeiPeijianPrice;
	}
	public void setXimeiPeijianPrice(Float ximeiPeijianPrice) {
		this.ximeiPeijianPrice = ximeiPeijianPrice;
	}
	public String getFuwuguwen() {
		return fuwuguwen;
	}
	public void setFuwuguwen(String fuwuguwen) {
		this.fuwuguwen = fuwuguwen;
	}
	public Float getYouLeiPrice() {
		return youLeiPrice;
	}
	public void setYouLeiPrice(Float youLeiPrice) {
		this.youLeiPrice = youLeiPrice;
	}
	public Float getLingJianPrice() {
		return lingJianPrice;
	}
	public void setLingJianPrice(Float lingJianPrice) {
		this.lingJianPrice = lingJianPrice;
	}
	public Float getYanghuPrice() {
		return yanghuPrice;
	}
	public void setYanghuPrice(Float yanghuPrice) {
		this.yanghuPrice = yanghuPrice;
	}
	public Float getJingpinPrice() {
		return jingpinPrice;
	}
	public void setJingpinPrice(Float jingpinPrice) {
		this.jingpinPrice = jingpinPrice;
	}
	public Float getLunTaiPrice() {
		return lunTaiPrice;
	}
	public void setLunTaiPrice(Float lunTaiPrice) {
		this.lunTaiPrice = lunTaiPrice;
	}
	public Float getQiPrice() {
		return qiPrice;
	}
	public void setQiPrice(Float qiPrice) {
		this.qiPrice = qiPrice;
	}
	public Float getDizhiyihaoPrice() {
		return dizhiyihaoPrice;
	}
	public void setDizhiyihaoPrice(Float dizhiyihaoPrice) {
		this.dizhiyihaoPrice = dizhiyihaoPrice;
	}
	public Float getBaoYangPrice() {
		return baoYangPrice;
	}
	public void setBaoYangPrice(Float baoYangPrice) {
		this.baoYangPrice = baoYangPrice;
	}
	public Float getJidianPrice() {
		return jidianPrice;
	}
	public void setJidianPrice(Float jidianPrice) {
		this.jidianPrice = jidianPrice;
	}
	public Float getBanpenPrice() {
		return banpenPrice;
	}
	public void setBanpenPrice(Float banpenPrice) {
		this.banpenPrice = banpenPrice;
	}
	public Float getXimeiPrice() {
		return ximeiPrice;
	}
	public void setXimeiPrice(Float ximeiPrice) {
		this.ximeiPrice = ximeiPrice;
	}
	public AfterSalefront getAfterSalefront() {
		return afterSalefront;
	}
	public void setAfterSalefront(AfterSalefront afterSalefront) {
		this.afterSalefront = afterSalefront;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public String getWeixiuGroup() {
		return weixiuGroup;
	}
	public void setWeixiuGroup(String weixiuGroup) {
		this.weixiuGroup = weixiuGroup;
	}
	public String getWeixiuPerson() {
		return weixiuPerson;
	}
	public void setWeixiuPerson(String weixiuPerson) {
		this.weixiuPerson = weixiuPerson;
	}
	public String getChePinPai() {
		return chePinPai;
	}
	public void setChePinPai(String chePinPai) {
		this.chePinPai = chePinPai;
	}
	public String getCheXing() {
		return cheXing;
	}
	public void setCheXing(String cheXing) {
		this.cheXing = cheXing;
	}
	public Integer getCheLing() {
		return cheLing;
	}
	public void setCheLing(Integer cheLing) {
		this.cheLing = cheLing;
	}
	public String getNengYuan() {
		return nengYuan;
	}
	public void setNengYuan(String nengYuan) {
		this.nengYuan = nengYuan;
	}
	public String getBaoXian() {
		return baoXian;
	}
	public void setBaoXian(String baoXian) {
		this.baoXian = baoXian;
	}
	public String getWeixiuClass() {
		return weixiuClass;
	}
	public void setWeixiuClass(String weixiuClass) {
		this.weixiuClass = weixiuClass;
	}
	public String getPeijianClass() {
		return peijianClass;
	}
	public void setPeijianClass(String peijianClass) {
		this.peijianClass = peijianClass;
	}
	public Float getPeijianPrice() {
		return peijianPrice;
	}
	public void setPeijianPrice(Float peijianPrice) {
		this.peijianPrice = peijianPrice;
	}
	public Float getGongshiPrice() {
		return gongshiPrice;
	}
	public void setGongshiPrice(Float gongshiPrice) {
		this.gongshiPrice = gongshiPrice;
	}
	public String getWaixieCompany() {
		return waixieCompany;
	}
	public void setWaixieCompany(String waixieCompany) {
		this.waixieCompany = waixieCompany;
	}
	public Integer getWaixieCost() {
		return waixieCost;
	}
	public void setWaixieCost(Integer waixieCost) {
		this.waixieCost = waixieCost;
	}
	public Date getBeginDate() {
		return beginDate;
	}
	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	public Float getShoubaoGongshi() {
		return shoubaoGongshi;
	}
	public void setShoubaoGongshi(Float shoubaoGongshi) {
		this.shoubaoGongshi = shoubaoGongshi;
	}
	public Float getShoubaoPeijian() {
		return shoubaoPeijian;
	}
	public void setShoubaoPeijian(Float shoubaoPeijian) {
		this.shoubaoPeijian = shoubaoPeijian;
	}
	public Float getDingbaoGongshi() {
		return dingbaoGongshi;
	}
	public void setDingbaoGongshi(Float dingbaoGongshi) {
		this.dingbaoGongshi = dingbaoGongshi;
	}
	public Float getDingbaoPeijian() {
		return dingbaoPeijian;
	}
	public void setDingbaoPeijian(Float dingbaoPeijian) {
		this.dingbaoPeijian = dingbaoPeijian;
	}
	public Float getMianbaoGongshi() {
		return mianbaoGongshi;
	}
	public void setMianbaoGongshi(Float mianbaoGongshi) {
		this.mianbaoGongshi = mianbaoGongshi;
	}
	public Float getMianbaoPeijian() {
		return mianbaoPeijian;
	}
	public void setMianbaoPeijian(Float mianbaoPeijian) {
		this.mianbaoPeijian = mianbaoPeijian;
	}
	public Float getTaocanGongshi() {
		return taocanGongshi;
	}
	public void setTaocanGongshi(Float taocanGongshi) {
		this.taocanGongshi = taocanGongshi;
	}
	public Float getTaocanPeijian() {
		return taocanPeijian;
	}
	public void setTaocanPeijian(Float taocanPeijian) {
		this.taocanPeijian = taocanPeijian;
	}
	public Float getWeixiuGongshi() {
		return weixiuGongshi;
	}
	public void setWeixiuGongshi(Float weixiuGongshi) {
		this.weixiuGongshi = weixiuGongshi;
	}
	public Float getWeixiuPeijian() {
		return weixiuPeijian;
	}
	public void setWeixiuPeijian(Float weixiuPeijian) {
		this.weixiuPeijian = weixiuPeijian;
	}
	public Float getSuopeiGongshi() {
		return suopeiGongshi;
	}
	public void setSuopeiGongshi(Float suopeiGongshi) {
		this.suopeiGongshi = suopeiGongshi;
	}
	public Float getSuopeiPeijian() {
		return suopeiPeijian;
	}
	public void setSuopeiPeijian(Float suopeiPeijian) {
		this.suopeiPeijian = suopeiPeijian;
	}
	public Float getMianjianGongshi() {
		return mianjianGongshi;
	}
	public void setMianjianGongshi(Float mianjianGongshi) {
		this.mianjianGongshi = mianjianGongshi;
	}
	public Float getMianjianPeijian() {
		return mianjianPeijian;
	}
	public void setMianjianPeijian(Float mianjianPeijian) {
		this.mianjianPeijian = mianjianPeijian;
	}
	public Float getShiguGongshi() {
		return shiguGongshi;
	}
	public void setShiguGongshi(Float shiguGongshi) {
		this.shiguGongshi = shiguGongshi;
	}
	public Float getShiguPeijian() {
		return shiguPeijian;
	}
	public void setShiguPeijian(Float shiguPeijian) {
		this.shiguPeijian = shiguPeijian;
	}
	public Float getPdiGongshi() {
		return pdiGongshi;
	}
	public void setPdiGongshi(Float pdiGongshi) {
		this.pdiGongshi = pdiGongshi;
	}
	public Float getPdiPeijian() {
		return pdiPeijian;
	}
	public void setPdiPeijian(Float pdiPeijian) {
		this.pdiPeijian = pdiPeijian;
	}
	public Float getBxbjyqGongshi() {
		return bxbjyqGongshi;
	}
	public void setBxbjyqGongshi(Float bxbjyqGongshi) {
		this.bxbjyqGongshi = bxbjyqGongshi;
	}
	public Float getBxbjyqPeijian() {
		return bxbjyqPeijian;
	}
	public void setBxbjyqPeijian(Float bxbjyqPeijian) {
		this.bxbjyqPeijian = bxbjyqPeijian;
	}
	public Float getBxbjGongshi() {
		return bxbjGongshi;
	}
	public void setBxbjGongshi(Float bxbjGongshi) {
		this.bxbjGongshi = bxbjGongshi;
	}
	public Float getBxbjPeijian() {
		return bxbjPeijian;
	}
	public void setBxbjPeijian(Float bxbjPeijian) {
		this.bxbjPeijian = bxbjPeijian;
	}
	public Float getBxyqGongshi() {
		return bxyqGongshi;
	}
	public void setBxyqGongshi(Float bxyqGongshi) {
		this.bxyqGongshi = bxyqGongshi;
	}
	public Float getBxyqPeijian() {
		return bxyqPeijian;
	}
	public void setBxyqPeijian(Float bxyqPeijian) {
		this.bxyqPeijian = bxyqPeijian;
	}
	public Float getZfbjyqGongshi() {
		return zfbjyqGongshi;
	}
	public void setZfbjyqGongshi(Float zfbjyqGongshi) {
		this.zfbjyqGongshi = zfbjyqGongshi;
	}
	public Float getZfbjyqPeijian() {
		return zfbjyqPeijian;
	}
	public void setZfbjyqPeijian(Float zfbjyqPeijian) {
		this.zfbjyqPeijian = zfbjyqPeijian;
	}
	public Float getZfbjGongshi() {
		return zfbjGongshi;
	}
	public void setZfbjGongshi(Float zfbjGongshi) {
		this.zfbjGongshi = zfbjGongshi;
	}
	public Float getZfbjPeijian() {
		return zfbjPeijian;
	}
	public void setZfbjPeijian(Float zfbjPeijian) {
		this.zfbjPeijian = zfbjPeijian;
	}
	public Float getZfyqGongshi() {
		return zfyqGongshi;
	}
	public void setZfyqGongshi(Float zfyqGongshi) {
		this.zfyqGongshi = zfyqGongshi;
	}
	public Float getZfyqPeijian() {
		return zfyqPeijian;
	}
	public void setZfyqPeijian(Float zfyqPeijian) {
		this.zfyqPeijian = zfyqPeijian;
	}
	public Float getSpGongshi() {
		return spGongshi;
	}
	public void setSpGongshi(Float spGongshi) {
		this.spGongshi = spGongshi;
	}
	public Float getSpPeijian() {
		return spPeijian;
	}
	public void setSpPeijian(Float spPeijian) {
		this.spPeijian = spPeijian;
	}
	public Float getBaoYangpeijianPrice() {
		return baoYangpeijianPrice;
	}
	public void setBaoYangpeijianPrice(Float baoYangpeijianPrice) {
		this.baoYangpeijianPrice = baoYangpeijianPrice;
	}
	public Float getJidianPeijianPrice() {
		return jidianPeijianPrice;
	}
	public void setJidianPeijianPrice(Float jidianPeijianPrice) {
		this.jidianPeijianPrice = jidianPeijianPrice;
	}
	public Float getBanpenPeijianPrice() {
		return banpenPeijianPrice;
	}
	public void setBanpenPeijianPrice(Float banpenPeijianPrice) {
		this.banpenPeijianPrice = banpenPeijianPrice;
	}
	public String getBaoyangClass() {
		return baoyangClass;
	}
	public void setBaoyangClass(String baoyangClass) {
		this.baoyangClass = baoyangClass;
	}
	public String getJidianClass() {
		return jidianClass;
	}
	public void setJidianClass(String jidianClass) {
		this.jidianClass = jidianClass;
	}
	public String getBanpenClass() {
		return banpenClass;
	}
	public void setBanpenClass(String banpenClass) {
		this.banpenClass = banpenClass;
	}
	public String getXimeiClass() {
		return ximeiClass;
	}
	public void setXimeiClass(String ximeiClass) {
		this.ximeiClass = ximeiClass;
	}
	public Float getXicheGongshi() {
		return xicheGongshi;
	}
	public void setXicheGongshi(Float xicheGongshi) {
		this.xicheGongshi = xicheGongshi;
	}
	public Float getMeirongGongshi() {
		return meirongGongshi;
	}
	public void setMeirongGongshi(Float meirongGongshi) {
		this.meirongGongshi = meirongGongshi;
	}
	public Float getJiazhuangGongshi() {
		return jiazhuangGongshi;
	}
	public void setJiazhuangGongshi(Float jiazhuangGongshi) {
		this.jiazhuangGongshi = jiazhuangGongshi;
	}
	public Float getDbnsGongshi() {
		return dbnsGongshi;
	}
	public void setDbnsGongshi(Float dbnsGongshi) {
		this.dbnsGongshi = dbnsGongshi;
	}
	
	public List<SaleBoutique1> getMaiJingPin() {
		return maiJingPin;
	}
	public void setMaiJingPin(List<SaleBoutique1> maiJingPin) {
		this.maiJingPin = maiJingPin;
	}

	public List<CarKeep> getMaiBaoYang() {
		return maiBaoYang;
	}
	public void setMaiBaoYang(List<CarKeep> maiBaoYang) {
		this.maiBaoYang = maiBaoYang;
	}

	public List<YanBao> getMaiYanBao() {
		return maiYanBao;
	}
	public void setMaiYanBao(List<YanBao> maiYanBao) {
		this.maiYanBao = maiYanBao;
	}
	

	public List<XiMei> getMaiXiMei() {
		return maiXiMei;
	}
	public void setMaiXiMei(List<XiMei> maiXiMei) {
		this.maiXiMei = maiXiMei;
	}
	
	

	public List<Insurance> getMaiBaoXian() {
		return maiBaoXian;
	}
	public void setMaiBaoXian(List<Insurance> maiBaoXian) {
		this.maiBaoXian = maiBaoXian;
	}
	
	
	
	
	
}
